package com.xhs.hawaii.purchase.mapper;

import com.xhs.hawaii.purchase.model.PurchaseOrder;

import java.util.List;
import java.util.Map;

/**
 * @author tangchuang
 * @version 1.0
 * @since 2018/1/23
 */
public interface PurchaseOrderMapper {

    PurchaseOrder getById(Long id);

    PurchaseOrder getByPurchaseOrderNo(String purchaseOrderNo);

    void insert(PurchaseOrder purchaseOrder);

    int update(PurchaseOrder purchaseOrder);

    int getManualPoCount(Map<String, Object> params);

    List<PurchaseOrder> getManualPoList(Map<String, Object> params);
}
